package com.lingxu.base.system.manage.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class UserInfo {
    /**主键*/
    private String id;
    /**用户名*/
    private String userName;
    /**用户姓名*/
    private String realName;
    /**工号*/
    private String workNo;
    /**头像*/
    private String profile;
    /**生日*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date birthday;
    /**性别*/
    private String sex;
    /**电话号码*/
    private String telephone;
    /**手机号码*/
    private String phone;
    /**地址*/
    private String address;
    /**地区编码*/
    private String areaCode;
    /**地区*/
    private String area;
    /**电子邮件*/
    private String email;
    /**状态*/
    private String status;
    /**密码最后更新时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date lastUpdPwdTime;
    /**创建时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**当前组织id*/
    private String orgId;
    private String orgName;
    /**当前部门id*/
    private String departId;
    private String photo;
}
